/*
 * Powered By [fdlm]
 * Web Site: http://www.fdlm.cn
 * Since 2014 - 2015
 */

package com.sjyy.account.service;

import javacommon.base.BaseManager;
import javacommon.base.EntityDao;
import javacommon.page.Page;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sjyy.account.dao.AccountDao;
import com.sjyy.account.model.Account;
import com.sjyy.account.vo.query.AccountQuery;

/**
 * @author cty email:caotianye@fdlm.cn
 * @version 1.0
 * @since 1.0
 */

@Service
@Transactional
public class AccountManager extends BaseManager<Account,AccountQuery,java.lang.Integer> implements AccountService{
	
	@Autowired
	private AccountDao accountDao;

	public EntityDao getEntityDao() {
		return this.accountDao;
	}
	
	@Transactional(readOnly=true)
	public Page findPage(AccountQuery query) {
		return accountDao.findPage(query);
	}
	
}
